/**
 * 
 */
package com.dp.behav.state;

/**
 * This is an example State design pattern. It allows an object to alter its
 * behaviour when its internal state changes. The object will appear to change
 * its class.
 * 
 * @author Sunaina.Sharma
 * 
 */
public class StateEx {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		MP3PlayerContext playerContext = new MP3PlayerContext(
				new StandbyState());
		playerContext.play();
	}

}
